package primalgorithms.other;

public class _02HammingDistance {
    public static int hammingDistance(int x, int y) {
        //笑死咯
        return Integer.bitCount(x ^ y);
    }
}
